package edu.tms.bean;


public class RolePermission {
	/**
	 * 角色权限id
	 */
	private Integer rolePermissionId;

	/**
	 * 角色名称
	 */
	private String roleName;

	/**
	 * 权限名称
	 */
	private String permissionName;

	/**
	 * 角色权限状态 1正常，2冻结
	 */
	private Integer rolePermissionState;


	public RolePermission () {
		super();
	}

	public RolePermission (Integer rolePermissionId,String roleName,String permissionName,Integer rolePermissionState) {
		this.rolePermissionId = rolePermissionId;
		this.roleName = roleName;
		this.permissionName = permissionName;
		this.rolePermissionState = rolePermissionState;
	}

	public Integer getRolePermissionId() {
		return this.rolePermissionId;
	}

	public void setRolePermissionId(Integer rolePermissionId) {
		this.rolePermissionId = rolePermissionId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getPermissionName() {
		return this.permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

	public Integer getRolePermissionState() {
		return this.rolePermissionState;
	}

	public void setRolePermissionState(Integer rolePermissionState) {
		this.rolePermissionState = rolePermissionState;
	}

	@Override
	public String toString() {
		return "RolePermission[rolePermissionId=" + rolePermissionId+ ", roleName=" + roleName + ", permissionName=" + permissionName + ", rolePermissionState=" + rolePermissionState + "]";
	}


}

